package com.atguigu.webrestfulcrud.controller;

import org.springframework.stereotype.Controller;
import org.springframework.web.bind.annotation.RequestMapping;
import org.springframework.web.bind.annotation.RequestParam;
import org.springframework.web.bind.annotation.ResponseBody;

import java.util.Map;


@Controller
public class HelloWorldController {
    @ResponseBody
    @RequestMapping("/zmq")
    public String hello() {
        return "hellozmq";
    }

//    @RequestMapping("/success")
//    public String success(Map<String,Object> map) {
//        map.put("hello","你好");
//        return "successzmq";
//    }



}